package com.grz.dao.impl;

import com.grz.dao.IStudentDao;
import com.grz.domain.Student;
import com.grz.utils.JdbcUtils;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public class StudentDaoImpl implements IStudentDao {

    @Override
    public List<Student> list(Student student) throws SQLException {
        Connection conn = JdbcUtils.getConnection();

        return null;
    }

    @Override
    public Student getStudent(int id) {
        return null;
    }

    @Override
    public int addStudennt(Student student) {
        return 0;
    }

    @Override
    public int updateStudent(Student student) {
        return 0;
    }

    @Override
    public int deleteStudent(int id) {
        return 0;
    }
}
